
public class Teste {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Double vl =   1500.83;
		
		String valor  = vl.toString().replace(".", "").trim();
		
		System.out.println(valor);
		System.out.println("xxx");
	}

	public static String formataMoeda(double vlr){
		java.text.DecimalFormat df = new java.text.DecimalFormat("R$###,###,##0.00");
		return df.format( vlr );
	} 
	
}
